package javatest3.ForWhileTest.test1;

public class method1 {
    public static void main(String[] args) {
        int sum=0,i;
        for (i=1;i<=100;i++){
            sum+=i;
        }
        System.out.println("sum = " + sum);
    }

}
